package com.woniuxy.service.impl;

import com.woniuxy.dao.IOrderDao;
import com.woniuxy.entity.Order;
import com.woniuxy.entity.Product;
import com.woniuxy.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author : mafan
 * @date : 2020-11-18 20:41
 **/
@Service
@Transactional
public class OrderServiceImpl implements IOrderService {

    @Autowired
    private IOrderDao orderDao;

    public void save(Order order) {
        orderDao.save(order);
    }
}
